﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Actya.Web.ViewModels.Admin
{
	public class CreateSiteViewModel
	{
		[Required]
		public string Name { get; set; }
		[Required]
		public string Theme { get; set; }
		[Required]
		public string AdminUsername { get; set; }
		[Required]
		[StringLength(100, MinimumLength = 6)]
		public string AdminPassword { get; set; }
		[Required]
		[Compare("AdminPassword")]
		public string AdminPasswordConfirmation { get; set; }

		public string[] AvailableThemes { get; set; }
	}
}